<!-- fails when we do permalink -->
<h2>Activity Cloud for <%= link_to @user.name, "http://www.twitter.com/users/#{@user.name}"%> from <%=Time.now%></h2>

<div style="padding:5;">
<% @profiles.each do |p| %>
<% size = p[:score].to_f + 0.2%><%=link_to image_tag(p[:image], :border=>0, :title => "#{p[:screen_name]} data last pulled from twitter #{time_since(p[:updated_at])}", :height=>size*96, :width=>size*96, :alt => p[:name]), "http://www.twitter.com/#{p[:screen_name]}" %><% end %>
</div>
<p/>
<%= link_to 'Ensure latest data is pulled from Twitter', :action=>'refresh'%><br/><br/>
<%= link_to 'Link you can share with friends', :id=>@user.twitter_id%>
